import http from "@/http";
import type { LoginModel } from "./LoginModel";
export const getImageApi = () => {
  return http.get("/api/login/getImage");
};

export const loginApi = (data: LoginModel) => {
  return http.post("/api/login", data);
};

export const logoutApi = () => {
  return http.post("/api/login/loginOut");
};
